package com.fand.acceptControl.dto;

import java.util.List;

import javax.persistence.Transient;

import com.fand.acceptControl.po.Navigation;

/**
 * 导航
 * 
 * @author yaoHT
 */
public class NavigationDto extends Navigation {
	/**
	 * 版本号
	 */
	@Transient
	private static final long serialVersionUID = 104001781640993775L;
	
	@Transient
	private List<NavigationDto> childs;
	
	/**
	 * 标识集合
	 */
	@Transient
	private String[] ids;
	
	@Transient
	private String jsonData;
	
	/**
	 * 分页号
	 */
	@Transient
	int paginationNo;
	
	/**
	 * 分页大小
	 */
	@Transient
	int paginationSize;
	
	private String typeCo;
	
	public List<NavigationDto> getChilds() {
		return this.childs;
	}
	
	/**
	 * @return 标识集合
	 */
	public String[] getIds() {
		return this.ids;
	}
	
	public String getJsonData() {
		return this.jsonData;
	}
	
	/**
	 * 获取
	 * 
	 * @return 分页号
	 */
	public int getPaginationNo() {
		return this.paginationNo;
	}
	
	/**
	 * 获取
	 * 
	 * @return 分页大小
	 */
	public int getPaginationSize() {
		return this.paginationSize;
	}
	
	public String getTypeCo() {
		return this.typeCo;
	}
	
	public void setChilds(final List<NavigationDto> childs) {
		this.childs = childs;
	}
	
	/**
	 * 获取
	 * 
	 * @param ids
	 *            标识集合
	 * @return 导航
	 */
	public NavigationDto setIds(final String[] ids) {
		this.ids = ids;
		
		return this;
	}
	
	public void setJsonData(final String jsonData) {
		this.jsonData = jsonData;
	}
	
	/**
	 * 设置
	 * 
	 * @param paginationNo
	 *            分页号
	 * @return 导航
	 */
	public NavigationDto setPaginationNo(final int paginationNo) {
		this.paginationNo = paginationNo;
		
		return this;
	}
	
	/**
	 * 设置
	 * 
	 * @param paginationSize
	 *            分页大小
	 * @return 导航
	 */
	public NavigationDto setPaginationSize(final int paginationSize) {
		this.paginationSize = paginationSize;
		
		return this;
	}
	
	public void setTypeCo(final String typeCo) {
		this.typeCo = typeCo;
	}
}